package com.tbit.uqbike.client.dao.log;

import com.tbit.uqbike.client.pojo.OrderHelmetLostLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yao
 * @since 2025/2/28 9:34
 */
@Mapper
public interface OrderHelmetLostLogDao {
    List<OrderHelmetLostLog> selectList();
    OrderHelmetLostLog getById(Integer id);
    void insert(OrderHelmetLostLog log);

    int insertCheckNull(OrderHelmetLostLog log);
    void update(OrderHelmetLostLog log);

    int updateCheckNull(OrderHelmetLostLog log);
    void delete(Integer id);


    int getCountByOrderNO(@Param("orderNO") String orderNO);
}

